<!-- include tpl=head menutitle=$page_rs.title -->
<!-- if $page_rs.banner -->
<div class="banner" style="background-image:url('{$page_rs.banner.filename}');"><img src="{#images#}/blank.gif" alt="{$page_rs.title}" /></div>
<!-- /if -->
<div class="main">
	<!-- include tpl=block/breadcrumb -->
	<div class="left am-panel-group">
		<!-- include tpl=block/catelist pid=$page_rs.id cid=$cate_rs.id title=$page_rs.title -->
		<!-- include tpl=block/contact -->
		<!-- include tpl=block/hot_article -->
	</div>
	<div class="right">
		<div class="am-g">
			<div class="am-u-sm-4">
				<img src="{$rs.thumb.gd.auto}" alt="{$rs.title}" width="100%" class="am-radius" />
			</div>
			<div class="am-u-sm-8">
				<h2>{$rs.title}</h2>
				<ul class="am-list am-list-static">
					<!-- if $rs.fsize -->
					<li><span>软件大小：</span>{$rs.fsize}</li>
					<!-- /if -->
					<!-- if $rs.version -->
					<li><span>软件版本：</span>{$rs.version}</li>
					<!-- /if -->
					<!-- if $rs.author -->
					<li><span>开发作者：</span>{$rs.author}<!-- if $rs.website --> &nbsp; <a href="{$rs.website}" target="_blank" class="red" style="display:inline;" title="访问{$rs.author}">访问官网</a><!-- /if --></li>
					<!-- /if -->
				</ul>
				<!-- if !$rs.onlyuser || ($rs.onlyuser && $session.user_id) -->
				<a href="{if $rs.dfile}{url ctrl=download id=$rs.dfile.id/}{else}{$rs.dlink}{/if}" class="am-btn am-btn-primary am-radius" target="_blank" style="padding-right:1em;">下载附件</a>
				<!-- else -->
				<a class="am-btn am-btn-danger am-radius" href="{url ctrl=login _back=$rs.url/}" style="padding-right:1em;">请先登录</a>
				<!-- /if -->
			</div>
		</div>
		<hr data-am-widget="divider" style="" class="am-divider am-divider-dotted" />
		<!-- if $rs.content -->
		<article class="am-article">
			<div class="am-article-bd">
				<div class="content">{$rs.content}</div>
			</div>
		</article>
		<!-- /if -->
		<!-- include tpl=block/next_prev -->
		<!-- if $page_rs.comment_status -->
			<!-- include tpl=block/comment tid=$rs.id -->
		<!-- /if -->
	</div>
</div>
<!-- include tpl=foot -->